package com.fowo.api.model.fbato;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** FBA配送地址 导入导出辅助模型 */
@Data
public class FBAToAddressExcelPo {

  @Size(max = 50, message = "物流中心编码长度不能超过20")
  @ExcelProperty(value = "物流中心编码")
  private String logisticsCenterCode;

  @Size(max = 50, message = "门牌号长度不能超过20")
  @ExcelProperty(value = "门牌号")
  private String houseNumber;

  @Size(max = 255, message = "详细地址长度不能超过20")
  @ExcelProperty(value = "详细地址")
  private String addressDetail;

  @Size(max = 50, message = "城市长度不能超过20")
  @ExcelProperty(value = "城市")
  private String city;

  @Size(max = 50, message = "区长度不能超过20")
  @ExcelProperty(value = "区")
  private String county;

  @Size(max = 50, message = "州/省/地区长度不能超过20")
  @ExcelProperty(value = "州/省/地区")
  private String area;

  @Size(max = 50, message = "邮政编码长度不能超过20")
  @ExcelProperty(value = "邮政编码")
  private String postalCode;
}
